home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / reflect.000 / reflect / 3.0b3 / Makefile < prev    next >
Encoding:
Makefile  |  1995-02-09  |  1.1 KB  |  40 lines

  1. # for non BSD systems remove the -D_BSD
  2. # for non multicast systems remvoe the -DMULTI
  3. #CFLAGS = -g -D_BSD -DDEBUG -DMULTI
  4. # For linux, use the below two lines:
  5. # The -DDONTLOGPKTS is my contribution here, as the reflector will dump
  6. # packet information every second or so, which makes a _huge_ log file.
  7. # I don't like that, and I bet you don't either, so I made it so you can
  8. # not have it if you don't want to.    - root@mama.indstate.edu
  9. CFLAGS = -g -D_BSD -DLINUX -I/usr/include/bsd -DDONTLOGPKTS -DMULTI # -DDEBUG
  10. LDFLAGS = -lbsd
  11.  
  12. LINTFLAGS=
  13. VSRCS=    reflect.c socket.c control.c util.c load.c refutil.c client.c distribute.c ocp.c mbone.c
  14. VOBJS=    reflect.o socket.o control.o util.o load.o refutil.o client.o distribute.o ocp.o mbone.o
  15. INCL=   reflect.h refmon.h globals.h
  16. RSRCS=    refmon.c 
  17. ROBJS=    refmon.o 
  18. # LIBC=    /lib/libc.a /lib/libbsd.a
  19. LIBC=    
  20.  
  21. all: reflect refmon 
  22.  
  23. reflect.o : ${INCL}
  24. socket.o : ${INCL}
  25. control.o : ${INCL}
  26. load.o : ${INCL}
  27. refutil.o : ${INCL}
  28. client.o : ${INCL}
  29.  
  30. ocp.o : ${INCL}
  31. mbone.o : ${INCL} rtp.h
  32.  
  33. reflect: ${VOBJS} 
  34.     rm -f $@
  35.     ${CC}  -o $@ ${VOBJS} ${LIBC}
  36.  
  37. refmon: ${ROBJS} 
  38.     rm -f $@
  39.     ${CC}  -o $@ ${ROBJS} ${LIBC}
  40.